

package com.dog.basics.service.common;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dog.basics.bean.dto.admin.common.AdminDogNewsAddDto;
import com.dog.basics.bean.dto.admin.common.AdminDogNewsEditDto;
import com.dog.basics.bean.dto.admin.common.AdminDogNewsFromDto;
import com.dog.basics.bean.model.common.DogNews;
import com.dog.basics.bean.vo.admin.common.AdminDogNewsVo;
import com.dog.basics.bean.vo.api.common.ApiDogNewsVo;
import com.dog.basics.common.util.PageParam;

/**
 * 消息通知
 *
 * @author cy code generator
 * @date 2021-02-22 15:04:46
 */
public interface DogNewsService extends IService<DogNews> {
    /**
     * @Description: 分页查询
     * @Param: status
     * @return: IPage
     * @Author: wph
     * @Date:
     */
    IPage<AdminDogNewsVo> getAdminPageList(PageParam page, AdminDogNewsFromDto obj);

    /**
     * @Description: api分页消息通知
     * @Param: status
     * @return: IPage<NewsVo>
     * @Author: wph
     * @Date:
     */
    IPage<ApiDogNewsVo> getApiPageList(PageParam page);

    /**
     * @Description: 查询详情
     * @Param: obj
     * @return: Boolean
     * @Author: cy
     * @Date: 2020/05/19  0027
     */
    AdminDogNewsVo getAdminObjXq(Long id);

    /**
     * @Description: 增加
     * @Param: obj
     * @return: Boolean
     * @Author: cy
     * @Date: 2020/05/19  0027
     */
    Boolean saveAdminObj(AdminDogNewsAddDto obj);

    /**
     * @Description: 修改
     * @Param: obj
     * @return: Boolean
     * @Author: cy
     * @Date: 2020/05/19  0027
     */
    Boolean editAdminObj(AdminDogNewsEditDto obj);

    /**
     * @Description: 查询详情APP
     * @Param: obj
     * @return: Boolean
     * @Author: cy
     * @Date: 2020/05/19  0027
     */
    ApiDogNewsVo getApiObjXq(Long id);


    /**
     * @Description: 删除
     * @Param: ids
     * @return: Boolean
     * @Author: cy
     * @Date: 2020/05/19  0027
     */
    Boolean deleteObj(Long id);


    /**
     * @Description: 获取未读信息个数
     * @return: Integer
     * @Author: wph
     * @Date: 2020/05/19  0027
     */
    Integer getNum();
}
